snapshot: Handle transparent opacity nodes correctly
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Jul 2021 17:14:13 +0000 (13:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Jul 2021 17:18:23 +0000 (13:18 -0400)
commitaaa68954c34a31fb95b717f2fed6736037e0d644
treef18ea0692900c810ed2aa92d7b73f3ca1da12ba0
parent67952a91420bc6230eac7f68700b38595322813f
snapshot: Handle transparent opacity nodes correctly

Eliding totally transparent content from the node tree is
not 100% correct, since filters can make things visible, so
we need to at least preserve the bounds. We can do that by
creating a transparent color node.
gtk/gtksnapshot.c